package com.ktjy.mapper;


import com.ktjy.pojo.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper {


    public int addSysRole(SysRole sysRole);

    public int delSysRole(@Param("id") Integer id);

    public int modSysRole(SysRole sysRole);

    public List<SysRole> selSysRole(String roleName);


//第四章
    public int modSetIfSysRoleId(SysRole sysRole);

    public List<SysRole> selSysRoleByTrimRoleName(@Param("roleName") String roleName,@Param("pageBegin") Integer pageBegin,@Param("pageSize") Integer pageSize);

}
